home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
diskmags
/
4671-5.790
/
dmg-5269
/
routines
/
userfade.txt
< prev
Wrap
Text File
|
1989-12-31
|
2KB
|
78 lines
THIRD DIMENSION
USER FADES
There are some user fades on this disk for kit 2 that can be used
to give various effects.You can see the patterns by loading the
Userfade.IFF file into either kit 2 as a border or into your art
program.Amiga users simply click on the picture.Simply copy the
example patterns to the user definable fade patterns then follow
the routines below.Please note that some of the routines differ
from others.
Use them as follows-
Brick
Copy the user fade pattern for Brick to userfade number
ten.Next create a white cube then create a red rectangle in
front of it and give the area that they are both in the
following condition-
SETFADE(10,3,1)
10 is the fade number
3 is the object number
1 is the area number
You should then end up with a brick wall effect.
Fence
Copy the fence userfade pattern to userfade 10.Create a brown
fence object and give it the same setfade code as above in an area
condition.
Glass
Copy the glass userfade pattern to userfade 10.Create a pane of
glass using a blue window object and give it the same setfade
code as above in an area condition.
Netting
Copy the netting userfade pattern to userfade 10.Create a wall
netting black object and give it the same setfade code as above
in an area/local condition.
Grass
Copy the grass userfade pattern to userfade 10.Create a dark
green rectangle object,lay it flat on top of a light green ground
object and give it (rectangle) the same setfade code as above in
an area/local condition.
Blinds
Copy the blinds userfade pattern to userfade 10.Create a grey
window object and give it the same setfade code as above
in an area/local condition.
Cloth 1 and 2
Create a yellow cube to use as a table.Add a blue rectangle flat
on top of it and give the rectangle the same userfade code as
above.Use userfade pattern Cloth1 ( which you copy to userfade 10)
for this rectangle.Next create another rectangle flat on top of
the first,colour it red and use the userfade Cloth2 pattern which
you copy to Userfade 11.Give this object the same code as before
but substitute the number 11 for 10.E.g.
Setfade (11,3,1)
The full area condition should be-
SETFADE (10,3,1)
SETFADE (11,4,1)
10 is the Cloth1 fade number
11 is the Cloth2 fade number
3 is the blue rectangle object number
4 is the red rectangle object number
1 is the area number
All the best....Tony